<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
  <script src="https://cdn.bootcdn.net/ajax/libs/vue/2.6.10/vue.js"></script>
</head>
<body>
<div id="app">
    <h2>插值语法</h2>
    <p>12{{msg}}12 <em>倾斜</em></p>

    <h2>v-text</h2>
    <p v-text="msg"></p>
    <p v-text="'12' + msg + '12'">hahaha</p>
    <p v-text="content">jahhahah</p>

    <h2>v-text</h2>
    <p v-html="msg"></p>
    <p v-html="'12' + msg + '12'">hahaha</p>
    <p v-html="content">jahhahah</p>
</div>
<script>
  const vm = new Vue({
      el:"#app",
      data(){
          return{
              msg:"hello Vue",
              content:"<em>看我倾斜</em>"
          }
      }
  })
</script>
</body>
</html>